package com.zw.yzk.kabu.data.network.entity;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zhanwei on 2017/2/26.
 */

public class ExhibitionListEntity extends Entity {

    @Expose
    @SerializedName("result")
    public Result result;

    public ExhibitionListEntity() {
        result = new Result();
        result.exhibitions = new ArrayList<>();
    }

    public class Result {
        @Expose
        @SerializedName("total_rows")
        public int totalRows;// 数据总量
        @Expose
        @SerializedName("exhibition_list")
        public List<Item> exhibitions;// 展会列表
    }

    public static class Item {
        @Expose
        @SerializedName("id")
        public int id;//展会id
        @Expose
        @SerializedName("name")
        public String name;//展会名称
        @Expose
        @SerializedName("start_time")
        public String startTime;//展会开始时间
        @Expose
        @SerializedName("end_time")
        public String endTime;//展会结束时间
        @Expose
        @SerializedName("province")
        public String province;//展会省份
        @Expose
        @SerializedName("city")
        public String city;//展会城市
        @Expose
        @SerializedName("district")
        public String district;//展会区（县）
        @Expose
        @SerializedName("address")
        public String address;//展会详细地址
        @Expose
        @SerializedName("cover_image_url")
        public String coverImage;//封面图片地址
        @Expose
        @SerializedName("purchase_time")
        public String purchaseStartTime;//购票开始时间
        @Expose
        @SerializedName("stop_purchase_time:datetime")
        public String purchaseEndTime;//购票结束时间
        @Expose
        @SerializedName("is_buyable")
        public int isBuyable;//是否可以购票， 0-否 1-是
        @Expose
        @SerializedName("is_collected")
        public boolean isCollected;//是否已关注，0-否 1-是
    }
}
